import { NestFactory } from '@nestjs/core';
import { MqttBrokerModule } from './mqtt-broker.module';
import { ConfigureService } from '@app/configure';

async function bootstrap() {
  const app = await NestFactory.createApplicationContext(MqttBrokerModule);
  let config = app.get(ConfigureService)
  console.log('mqtt broker listen port : ' + config.get('mqtt.port'))
}
bootstrap();
